home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / ip / ka9q / src.arc / ICMPMSG.C < prev    next >
C/C++ Source or Header  |  1989-08-06  |  716b  |  46 lines

  1. #include "global.h"
  2. /* ICMP message types */
  3. char *Icmptypes[] = {
  4.     "Echo Reply",
  5.     NULLCHAR,
  6.     NULLCHAR,
  7.     "Unreachable",
  8.     "Source Quench",
  9.     "Redirect",
  10.     NULLCHAR,
  11.     NULLCHAR,
  12.     "Echo Request",
  13.     NULLCHAR,
  14.     NULLCHAR,
  15.     "Time Exceeded",
  16.     "Parameter Problem",
  17.     "Timestamp",
  18.     "Timestamp Reply",
  19.     "Information Request",
  20.     "Information Reply"
  21. };
  22.  
  23. /* ICMP unreachable messages */
  24. char *Unreach[] = {
  25.     "Network",
  26.     "Host",
  27.     "Protocol",
  28.     "Port",
  29.     "Fragmentation",
  30.     "Source route"
  31. };
  32. /* ICMP Time exceeded messages */
  33. char *Exceed[] = {
  34.     "Time-to-live",
  35.     "Fragment reassembly"
  36. };
  37.  
  38. /* ICMP redirect messages */
  39. char *Redirect[] = {
  40.     "Network",
  41.     "Host",
  42.     "TOS & Network",
  43.     "TOS & Host"
  44. };
  45.  
  46.